package com.example.agriculture.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2022-09-12 23:21:45
 */
public class Product implements Serializable {
    private static final long serialVersionUID = 865834311079390470L;

    private Integer productId;

    private String productImage;

    private ProductType productType;

    private Integer productTypeId;

    private String productName;

    private String productTypeName;

    private Float productPrice;

    private Integer productTotal;

    private String productIntroduce;

    private Producer producer;

    private Integer producerId;

    private String producerName;

    private String producerNumber;

    private String productCreatTime;

    private String productReleaseTime;

    private String productState;

    public Producer getProducer() {
        return producer;
    }

    public void setProducer(Producer producer) {
        this.producer = producer;
    }

    public ProductType getProductType() {
        return productType;
    }

    public void setProductType(ProductType productType) {
        this.productType = productType;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public Integer getProductTypeId() {
        return productTypeId;
    }

    public void setProductTypeId(Integer productTypeId) {
        this.productTypeId = productTypeId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }

    public Float getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Float productPrice) {
        this.productPrice = productPrice;
    }

    public Integer getProductTotal() {
        return productTotal;
    }

    public void setProductTotal(Integer productTotal) {
        this.productTotal = productTotal;
    }

    public String getProductIntroduce() {
        return productIntroduce;
    }

    public void setProductIntroduce(String productIntroduce) {
        this.productIntroduce = productIntroduce;
    }

    public Integer getProducerId() {
        return producerId;
    }

    public void setProducerId(Integer producerId) {
        this.producerId = producerId;
    }

    public String getProducerName() {
        return producerName;
    }

    public void setProducerName(String producerName) {
        this.producerName = producerName;
    }

    public String getProducerNumber() {
        return producerNumber;
    }

    public void setProducerNumber(String producerNumber) {
        this.producerNumber = producerNumber;
    }

    public String getProductCreatTime() {
        return productCreatTime;
    }

    public void setProductCreatTime(String productCreatTime) {
        this.productCreatTime = productCreatTime;
    }

    public String getProductReleaseTime() {
        return productReleaseTime;
    }

    public void setProductReleaseTime(String productReleaseTime) {
        this.productReleaseTime = productReleaseTime;
    }

    public String getProductState() {
        return productState;
    }

    public void setProductState(String productState) {
        this.productState = productState;
    }

    @Override
    public String toString() {
        return "Product{" +
                "productId=" + productId +
                ", productImage='" + productImage + '\'' +
                ", productType=" + productType +
                ", productTypeId=" + productTypeId +
                ", productName='" + productName + '\'' +
                ", productTypeName='" + productTypeName + '\'' +
                ", productPrice=" + productPrice +
                ", productTotal=" + productTotal +
                ", productIntroduce='" + productIntroduce + '\'' +
                ", producer=" + producer +
                ", producerId=" + producerId +
                ", producerName='" + producerName + '\'' +
                ", producerNumber='" + producerNumber + '\'' +
                ", productCreatTime='" + productCreatTime + '\'' +
                ", productReleaseTime='" + productReleaseTime + '\'' +
                ", productState='" + productState + '\'' +
                '}';
    }
}